package com.lanqiao.companymanage.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

@Data
@ToString
@AllArgsConstructor
@NoArgsConstructor
public class Admin {

    //主键自增
    @TableId(type = IdType.AUTO)
    private Integer id;

    //用户名
    private String username;

    //密码
    private String password;
}